OTSetSynchronous
Sets a provider's mode of execution to synchronous.C INTERFACE
OSStatus OTSetSynchronous(ProviderRef ref);C++ INTERFACE
OSStatus TProvider::SetSynchronous();PARAMETERS
ref
- The provider reference of the provider whose mode of execution you want to set.
DESCRIPTION
TheOTSetSynchronous
function causes all provider functions to run synchronously when using the provider that you specify.Changing a provider's mode of execution does not affect its notifier function, if any is installed for this provider; the notifier function remains installed.
SEE ALSO
Modes of execution and notifier functions are described in "Specifying How Provider Functions Execute" on page 2-9.To set a provider to asynchronous mode, call the
OTSetAsynchronous
function, described next. To find out a provider's mode of execution, call theOTIsSynchronous
function (page 2-30).